package com.zx.mes.senior.reflect;

import lombok.*;
import lombok.extern.java.Log;

/**
 * 反射测试类
 * @author 华云龙
 * @date 2018-8-30
 */
@ToString
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Log
public class Person {

    private String name;

    private int age;

    private String getX(){
        return "xxxx";
    }

    String getCC(){
        return "vvv";
    }

    protected String getZz(){
        return "vvv";
    }
    /**
     * say方法
     * @param str string
     */
    private void say(String str){
        log.info(str);
    }
}
